package com.leen.news.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author 
 * 门店自提
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "门店自提")
@TableName(value = "yx_system_store")
public class YxSystemStore implements Serializable {

    @ApiModelProperty(value = "门店自提ID",example = "0")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 门店名称
     */
    @ApiModelProperty(value = "门店名称")
    @TableField(value = "name")
    private String name;

    /**
     * 简介
     */
    @ApiModelProperty(value = "简介")
    @TableField(value = "introduction")
    private String introduction;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    @TableField(value = "phone")
    private String phone;

    /**
     * 省市区
     */
    @ApiModelProperty(value = "省市区")
    @TableField(value = "address")
    private String address;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    @TableField(value = "detailed_address")
    private String detailedAddress;

    /**
     * 门店logo
     */
    @ApiModelProperty(value = "门店logo")
    @TableField(value = "image")
    private String image;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    @TableField(value = "latitude")
    private String latitude;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    @TableField(value = "longitude")
    private String longitude;

    /**
     * 核销有效日期
     */
    @ApiModelProperty(value = "核销有效日期")
    @TableField(value = "valid_time")
    private String validTime;

    /**
     * 每日营业开关时间
     */
    @ApiModelProperty(value = "每日营业开关时间")
    @TableField(value = "day_time")
    private String dayTime;

    /**
     * 添加时间
     */
    @ApiModelProperty(value = "添加时间")
    @TableField(value = "create_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 是否显示
     */
    @ApiModelProperty(value = "是否显示")
    @TableField(value = "is_show")
    private Boolean isShow;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除")
    @TableField(value = "is_del")
    private Boolean isDel;

    @TableField(value = "day_time_end")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date dayTimeEnd;

    @TableField(value = "day_time_start")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date dayTimeStart;

    @TableField(value = "valid_time_end")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date validTimeEnd;

    @TableField(value = "valid_time_start")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date validTimeStart;

    private static final long serialVersionUID = 1L;
}